<div class="g">
    <div class="a" (click)="value ='1'" ><p>原神</p></div>
    <div class="b" (click)="value ='2'" ><p>雀魂</p></div>
    <div class="c" (click)="value ='3'" ><p>崩坏</p></div>
</div>
<div class="q" [ngSwitch]="value">
    <div class="a1" *ngSwitchCase="'1'">
        <div><img class="a11" src="assets/img2/原神.jpg" alt="">
            <div class="box" *ngFor="let gametapitem of sb">
                <div class="a">{{gametapitem.b1}}</div>
                <div class="b">{{gametapitem.b2}}</div>
                <div class="b">{{gametapitem.b3}}</div>
                <div class="b">{{gametapitem.b4}}</div>
                <div class="b">{{gametapitem.b5}}</div>
            </div>
        </div>
        
        <img class="a11" src="assets/img2/原神.jpg" alt="">
        <img class="a11" src="assets/img2/原神.jpg" alt="">
        <img class="a11" src="assets/img2/原神.jpg" alt="">
        <img class="a11" src="assets/img2/原神.jpg" alt="">
        <img class="a11" src="assets/img2/原神.jpg" alt="">
    </div>
    <div class="a2" *ngSwitchCase="'2'">
        <img src="assets/img2/雀魂.jpg" alt="">
    </div>
    <div class="a3" *ngSwitchDefault>
        <img src="assets/img2/崩坏3.jpg" alt="">
    </div>
</div>